<?php

class Damages_Methods_Data_Damage_Simple extends Damages_Methods_Data_Damage {

  public function __construct($obj) {
    $this->id = $obj->id;
    $this->isMain = (int) $obj->isMain;
    $this->scale = new Damages_Methods_Data_Dictionary_DamageScale_Simple($obj->scale);
    $this->type = new Damages_Methods_Data_Dictionary_DamageType_Simple($obj->type);
    $this->spot = new Damages_Methods_Data_Dictionary_DamageSpot_Simple($obj->spot);
  }

}